﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master" CodeBehind="Employee_List.aspx.cs" Inherits="WebUI.Admin.Employee.Employee_List" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">

    员工编号：<asp:TextBox ID="txtEmployeeSn" runat="server" Width="73px" ForeColor="#404040"></asp:TextBox>员工姓名：<asp:TextBox
        ID="txtPersonName" runat="server" Width="73px" ForeColor="#404040"></asp:TextBox>所属部门：
    <asp:DropDownList ID="ddrDepartment" runat="server" ForeColor="#404040">
        <asp:ListItem>所有部门</asp:ListItem>
        <asp:ListItem>网站维护部</asp:ListItem>
        <asp:ListItem>调度室</asp:ListItem>
        <asp:ListItem>承运部</asp:ListItem>
        <asp:ListItem>财务部</asp:ListItem>
        <asp:ListItem>运输部</asp:ListItem>
    </asp:DropDownList>员工电话：<asp:TextBox ID="txtTel" runat="server" Width="63px" ForeColor="#404040"></asp:TextBox>
    <asp:Button ID="btnSelect" runat="server" OnClick="btnSelect_Click" Text="查找" ForeColor="#404040" /><br />
    <div style="width:750px; margin-top:15px;">
    <asp:GridView ID="grvEmployeeList" runat="server" AutoGenerateColumns="False" OnRowDeleting="grvEmployeeList_RowDeleting" AllowPaging="True" OnPageIndexChanging="grvEmployeeList_PageIndexChanging" PageSize="8" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" Width="750px">
        <Columns>
            <asp:BoundField DataField="PersonSn" HeaderText="编号" />
            <asp:HyperLinkField DataNavigateUrlFields="PersonSn" DataTextField="PersonName" HeaderText="员工姓名"
                NavigateUrl="~/Admin/Employee/Employee_Modify.aspx" DataNavigateUrlFormatString="Employee_Modify.aspx?PersonSn={0}" />
            <asp:BoundField DataField="Department" HeaderText="所属部门" />
            <asp:BoundField DataField="tel" HeaderText="电话" />
            <asp:BoundField DataField="address" HeaderText="地址" />
            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <RowStyle BackColor="White" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <div style="text-align:right; margin-top:10px;">
    <asp:HyperLink ID="hylAddDriver" runat="server" NavigateUrl="~/Admin/Employee/Reg_Employee.aspx">增加员工</asp:HyperLink>
    </div></div>
</asp:Content>
